package com.bwie.api.common;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: zhang
 * @date: 2021/1/4
 * @time: 10:54
 * @description:
 */
@FeignClient(contextId = "simpleRandomLottery",value = ServiceNameConstants.COMMON_SERVICE)
public interface SimpleRandomLottery {

    @PostMapping(value = "/test/draw/{userName}")
    public String draw(@PathVariable(name = "userName") String userName);


}
